package com.lanou3g.hw0408;

/**
 * Created by dllo on 18/4/8.
 */
public class Duck {
    private String skin;
    private String mouth;
    private String belly;//肚子

    public Duck() {
    }

    public Duck(String skin, String mouth, String belly) {
        this.belly = belly;
        this.mouth = mouth;
        this.skin = skin;
    }

    public String getSkin() {
        return skin;
    }

    public void setSkin(String skin) {
        this.skin = skin;
    }

    public String getMouth() {
        return mouth;
    }

    public void setMouth(String mouth) {
        this.mouth = mouth;
    }

    public String getBelly() {
        return belly;
    }

    public void setBelly(String belly) {
        this.belly = belly;
    }

    public void swim() {
        System.out.println("一只" + skin + "皮肤" + mouth + "嘴巴" + belly + "肚子的鸭子在游泳");
    }
}
